package day1223;

public class Test9 {
    public static void main(String[] args) {
        //1.定义一个二维数组，存储 ""
        String[][] poemsSrc = {
                {"两", "个", "黄", "鹂", "鸣", "翠", "柳"},
                {"一", "行", "白", "鹭", "上", "青", "天"}
        };
        printPoems(poemsSrc);
    }

    static void printPoems(String[][]  poems) {
        //2.用双层while循环打印整个数组
        int j=0;
        while(j<2) {
            int i = 0;
            while (i < 7) {
                System.out.print(poems[j][i]);
                i++;
            }
            System.out.println();
            j++;
        }
    }
}
